package guiTest;

public class Song 
{
	String song;
	String artist;
	Duration duration;
	Integer rating;
	Integer sumOfPreviousRatings;
	Integer number;
	
	String filename;
	String bandFolderName;
	
	public Song()
	{
		song = "";
		artist = "";
		duration = new Duration(0);
		rating = 0;
		number = 0;
		
		filename = null;
		bandFolderName = null;
	}
	
	public void setSong(String songName)
	{
		song = songName;
	}
	
	public void setArtist(String artistName)
	{
		artist = artistName;
	}
	
	public void setDuration(Duration durationObj)
	{
		duration.setDuration(durationObj.getDurationVal());
	}
	
	public void setDuration(int durationValue)
	{
		duration.setDuration(durationValue);
	}
	
	public void setRating(int ratingValue)
	{
		rating = ratingValue;
	}
	
	public void setSumOfPreviousRatings(int sumValue)
	{
		sumOfPreviousRatings = sumValue;
	}
	
	public String getSong()
	{
		return song;
	}
	
	public String getArtist()
	{
		return artist;
	}
	
	public Duration getDuration()
	{
		return duration;
	}
	
	public Integer getRating()
	{
		return rating;
	}
	
	public Integer getSumOfPreviousRatings()
	{
		return sumOfPreviousRatings;
	}
	
	public void setFilename(String filenameValue)
	{
		filename = filenameValue;
	}
	
	public void setBandFolderName(String bandFolderNameValue)
	{
		bandFolderName = bandFolderNameValue;
	}
	
	public String getFilename()
	{
		return filename;
	}
	
	public String getBandFolderName()
	{
		return bandFolderName;
	}
	
	public void setSongNumber(int newSongNumber)
	{
		number = newSongNumber;	
	}
	
	public Integer getSongNumber()
	{
		return number;
	}

}
